/*9F/9MPXo2D1anesP9AOJ3zgqrWLrJ5am7rxQX70aqa5nzHnrIriZFyRi+LHbRKBE*/
/*
 * @Author: xiahui
 * @PageInfo: 影像查看
 * @Date: 2019-04-25 13:39:43
 * @Last Modified by: zhr
 * @Last Modified time: 2021-01-18 10:42:11
 */
import { PAGECODE, AREA, FIELDS } from '../../constance';
import { SCMImageView } from 'scmpub/scmpub/components/Image';
import { getLangByResId } from '../../../../../scmpub/scmpub/pub/tool/multiLangUtil';

export default function(props) {
	// let openbillid = props.getUrlParam('id');
	let openbillid = props.form.getFormItemsValue(AREA.cardFormId, FIELDS.pk_ct_pu).value;
	let billdata = props.createMasterChildData(PAGECODE.cardPagecode, AREA.cardFormId, AREA.cardTableId);
	let data = {};
	data.billId = openbillid;
	data.billType = props.form.getFormItemsValue(AREA.cardFormId, FIELDS.vtrantypecode).value;
	data.tranTypeId = billdata.head[AREA.cardFormId].rows[0].values[FIELDS.vtrantypecode].value;
	data.pk_org = billdata.head[AREA.cardFormId].rows[0].values[FIELDS.pk_org].value;
	data.imageDisableHint = getLangByResId(this, '4004PURDAILY-000067'); //"影像管理模块没有启用！"  add by congke
	SCMImageView.call(this, props, data);
}

/*9F/9MPXo2D1anesP9AOJ3zgqrWLrJ5am7rxQX70aqa5nzHnrIriZFyRi+LHbRKBE*/